<%@ page contentType="text/html;charset=UTF-8" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<!DOCTYPE html >
<html lang="en">
<head>
<%@include file="../../common/includeBaseSet.jsp" %>
<%@include file="../../common/includeSystemSet.jsp" %>
<%@include file="../../common/operation_forbid.jsp" %>
<%@include file="../../common/jsVersion.jsp" %>
</head>
<body>
<div class="page-content">
		<div class="row-fluid">	
			<div class="col-xs-12">
					<form id="searchForm" class="form-inline" method="POST" onsubmit="return false;">
						<div class="row">
							<div class="widget-main">																									
									&nbsp;&nbsp;
									<select name="provinceId" id="provinceId"  onchange="regionSelectChange(this,'cityId')">
									   <option value="-1">请选择省份</option>
									   <c:forEach var="row"   items="${areas}">
										<option value="${row.id}">${row.areaName}</option>
                                       </c:forEach>
							        </select>
							        
							        &nbsp;&nbsp;
									<select name=cityId id="cityId">
									   <option value="-1">请选择城市</option>
							        </select>	
							        &nbsp;&nbsp;
							       <input  type="text" name="projectName"  placeholder="项目名称" class="input-large">
									&nbsp;&nbsp;
									<input type="hidden" value="${menu}" name="resourcesCode">
									<input type="hidden" value="resName_pro_list" name="resourcesName">
								   <c:forEach var="btn" items="${permitBtn}">
       									<c:choose>
	       									<c:when test="${btn.permission=='estate:project:list'}"><button class="btn btn-warning  btn-sm" type="button" onclick="projectList(1)"><span class="glyphicon glyphicon-search">查询</span></button>	</c:when>
											<c:when test="${btn.permission=='estate:project:list'}">&nbsp;&nbsp;<button type="button" onclick="projectToAdd()" class="btn btn-primary btn-sm"><span class="glyphicon glyphicon-plus">新增</span></button></c:when>
										</c:choose>
									</c:forEach>
								<%--<button type="button" onclick="projectToAdd()" class="btn btn-primary btn-sm"><span class="glyphicon glyphicon-plus">新增</span></button>--%>
							</div>				
						</div>
						<input type='hidden' class='pageNum' name='pageNum' value='1'/>
						<input type='hidden' class='pageSize'  name='pageSize' value='10'/>
					</form>
	
					<table id="baseTable" class="table table-striped table-bordered table-hover" >
						<thead>
							<tr>
								<!-- <th style="width:1%" class="center">
									<label><input type="checkbox" class="ace" ><span class="lbl"></span></label>	
								</th> -->
								<th  class="center">序号</th>
								<%--<th style="width:20%" class="center">操作</th>--%>
								<th  class="center">项目名称</th>
								<th  class="center">推广名称</th>
								<th  class="center">组团数</th>
	                            <th  class="center">楼栋数</th>
	                            <th  class="center">单元数</th>
	                            <th  class="center">房间数</th>
	                            <th  class="center">所在城市</th>
	                            <th  class="center">产品品类</th>
	                            <th  class="center">公司总经理</th>
	                            <th  class="center">项目总</th>
	                            <th  class="center">经纪总</th>
	                            <th  class="center">销售经理</th>
	                            <th  class="center">销管经理</th>
	                            <th  class="center">财务经理</th>
	                            <th  class="center">区域领导</th>
	                            <th  class="center">区域经理</th>
	                            <th  class="center">更新日期</th>
								
							</tr>
						</thead>
						<tbody></tbody>
					</table>
					<div class="row">
						<div class="col-sm-8">
							<!--设置分页位置-->
							<div id="pageing" class="dataTables_paginate paging_bootstrap">
								<ul class="pagination"></ul>
							</div>
						</div>
					</div>
			<!-- #dialog-confirm -->
			<%@include file="../../common/dialog.jsp" %>	
			</div>
		</div>
	</div>	
	<div style="display: none;" id="permitBtnJson">
	${permitBtnJson}
	</div>
	<input type="hidden" value="${menu}" id="menuId">
	<script src="${jypath}/static/js/estate/project/project.js?v=${jsVersion}"></script>	
	
</body>
</html>